<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>首页</h1>
<button><a th:href="@{/login}">登陆</a></button>
<button><a th:href="@{/register}">注册</a></button>
<p th:text="${msg}"></p>
<hr />
<button><a th:href="@{/user/add}">添加</a></button>
<button><a th:href="@{/user/update}">更新</a></button>
</body>
</html>